execute if data entity @n[tag=VoidShop.slot,distance=..1,type=item_display] item.components."minecraft:custom_data".void_shop.name run return run data modify entity @s text set value '{"nbt": "item.components.\\"minecraft:custom_data\\".void_shop.name","entity": "@n[tag=VoidShop.slot,distance=..1,type=item_display]","interpret": true}'
data modify entity @s text set from entity @n[tag=VoidShop.slot,distance=..1,type=item_display] item.components."minecraft:item_name"